import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgValidateForm } from '@farris/devkit';
var LeftTreeGridComponentViewmodelForm = /** @class */ (function (_super) {
    tslib_1.__extends(LeftTreeGridComponentViewmodelForm, _super);
    function LeftTreeGridComponentViewmodelForm() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgFormControl({
            id: 'zzbh',
            name: "{{zzbh_28219238_rugj}}",
            binding: 'zzbh',
            updateOn: 'blur',
            defaultI18nValue: '组织编号',
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], LeftTreeGridComponentViewmodelForm.prototype, "zzbh", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'zzmc',
            name: "{{zzmc_f7d6e942_6qt9}}",
            binding: 'zzmc',
            updateOn: 'blur',
            defaultI18nValue: '组织名称',
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], LeftTreeGridComponentViewmodelForm.prototype, "zzmc", void 0);
    LeftTreeGridComponentViewmodelForm = tslib_1.__decorate([
        Injectable(),
        NgValidateForm({
            formGroupName: '组织管理',
            enableValidate: false
        }),
        Injectable()
    ], LeftTreeGridComponentViewmodelForm);
    return LeftTreeGridComponentViewmodelForm;
}(Form));
export { LeftTreeGridComponentViewmodelForm };
